<template>
  <div class="card">
    <i class="left iconfont" :class="'icon-' + card.icon"></i>
    <div class="right">
      <p>{{ card.title }}</p>
      <p>{{ card.count }}</p>
    </div>
  </div>
</template>
<script setup>
defineProps(["card"]);
</script>

<style lang="scss" scoped>
.card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  .iconfont {
    font-size: 40px;
  }
}
</style>
